﻿@using JPW.OnlinePaperSubmissionSystem.Project
<form name="createOrEditAnnouncementContactForm" role="form" novalidate class="form-validation">
        <div class="modal-header">
            <h4 class="modal-title">
                <h4 class="modal-title">
                <span ng-if="vm.announcementContact.id">@L("UpdateAnnouncementContact"): {{vm.user.userName}}</span>
                <span ng-if="!vm.announcementContact.id">@L("CreateAnnouncementContact")</span>
            </h4>
            </h4>
        </div>
        <div class="modal-body">
      <div class="form-group form-md-line-input">
                <input class="form-control" type="text" name="ReceiveUserId" ng-model="vm.announcementContact.receiveUserId" >
                <label>ReceiveUserId</label>
            </div>
      <div class="form-group form-md-line-input">
                <input class="form-control" type="text" name="SendUserId" ng-model="vm.announcementContact.sendUserId" >
                <label>SendUserId</label>
            </div>
      <div class="form-group form-md-line-input">
                <input class="form-control" type="text" name="AnnouncementId" ng-model="vm.announcementContact.announcementId" >
                <label>AnnouncementId</label>
            </div>
            
        </div>
        <div class="modal-footer">
            <button ng-disabled="vm.saving" type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Cancel")</button>
            <button type="submit" button-busy="vm.saving" busy-text="@L("SavingWithThreeDot")" class="btn btn-primary blue" ng-click="vm.save()" ng-disabled="createAnnouncementContactForm.$invalid"><i class="fa fa-save"></i> <span>@L("Save")</span></button>
        </div>
    </form>

